package org.cheetah.spring.xml;

import org.cheetah.activities.Noop;
import org.springframework.beans.factory.support.BeanDefinitionBuilder;
import org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser;
import org.w3c.dom.Element;

public class NoopDefinitionParser extends AbstractSingleBeanDefinitionParser {

	@Override
	protected Class<?> getBeanClass(Element element) {
		return Noop.class;
	}

	@Override
	protected void doParse(Element element, BeanDefinitionBuilder bean) {
		// do nothing
	}
}
